﻿<?php
    $complaints_pending = mysql_query("SELECT * FROM complaints WHERE pending='1'");
   
?>

<table>
    <tr>
    
        <td>
            <label>סימפטום</label>
        </td>
        <td>
            <label>מזהה</label>
        </td>
    </tr>

    <?php
     while ($row = mysql_fetch_array($complaints_pending))
    {
    ?>
    
    <tr>
    
        <td>
            <label><?php echo $row["complaint"] ?></label>
        </td>
        <td>
            <label><a href="includes/output/output.php?complaint_id=<?php echo $row["complaint_id"] ?>">הצג</a></label>
        </td>
    </tr>
    <?php
    }
    ?>
</table>